﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace TypeWrite.MVC4.Areas.Setup.Models
{
    public partial class DataSource
    {
        private string server = ".\\SQLEXPRESS";

        [Required]
        [Display(Name = "Server")]
        public string Server
        {
            get
            {
                return server;
            }
            set
            {
                server = value;
            }
        }

        [Display(Name = "Login")]
        public string UserID { get; set; }

        public string Password { get; set; }

        private string database = "TypeWrite";

        [Display(Name = "Database Name")]
        public string Database
        {
            get
            {
                return database;
            }
            set
            {
                database = value;
            }
        }

        [Display(Name = "Use Integrated (Windows) Authentication")]
        public bool IsIntegrated { get; set; }

    } 
}